# Official Dart image: https://hub.docker.com/_/dart
# Specify the Dart SDK base image version using dart:<version> (ex: dart:2.17)

# 使用 Nginx 作为基础镜像
# FROM nginx:latest
FROM python:3.9-slim

# 设置工作目录
# WORKDIR /usr/share/nginx/html
WORKDIR /app

COPY ./web/ .
# 配置 Nginx 以处理路由
# COPY ./nginx.conf /etc/nginx/conf.d/default.conf

# 暴露 Nginx 的默认端口
EXPOSE 80

# 启动 Nginx
# CMD ["nginx", "-g", "daemon off;"]
CMD ["python","-m","http.server","80"]
